﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Header.ascx.cs" Inherits="UserControls_Header" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<telerik:RadFormDecorator ID="FormDecorator1" runat="server" DecoratedControls="All"
    Skin="Web20"></telerik:RadFormDecorator>
<telerik:RadCodeBlock ID="FoodBood" runat="server">
    <script type="text/javascript">
        function OpenPositionedWindow(oButton, url, windowName) {
            var oWnd = window.radopen(url, windowName);
        }
        function OpenRegister()
        {
            var oWnd = radopen("Register.aspx");
            oWnd.setSize(500,550);
            oWnd.center();
        } 
        function SetSession()
        {
            location.href = location.href;
        }   
    </script>
</telerik:RadCodeBlock>
<telerik:RadWindowManager ID="InfoBox" runat="server" 
    ShowContentDuringLoad="false" VisibleStatusbar="false"    
    ReloadOnShow="true" Skin="Web20" 
    Behaviors="Close, Move, Resize , Maximize, Minimize">    
</telerik:RadWindowManager>
<table width="100%">
    <tr>
        <!--Banner-->
        <td align="left" style="padding-bottom: 4px">
            <img src="../Images/logo.jpg" alt="No Images" />
        </td>
        <td align="right" style="width: 90%" valign="top">
            <table cellpadding="0" cellspacing="0" align="right">
                <tr>
                    <!--Info User-->
                    <td colspan="3" align="right" valign="top" style="padding-bottom: 20px;">
                        <a href="javascript:void(0)">My Handbook</a> | <asp:Label ID="Label1" runat="server"/>
                    </td>
                </tr>
                <tr>
                    <!--Logo-->
                    <td align="right" style="width: 90%">
                        <asp:TextBox ID="txtSearch" runat="server" Width="250px" Height="20px" onmouseover="return escape('Nhập Món Ăn,Quận,Đường,Sở Thích,...<br>Có Thể Nhập Tiếng Việt Không Dấu hoặc Có Dấu')"></asp:TextBox>
                    </td>
                    <td align="right" style="padding-left:4px; padding-right:4px;">
                       <telerik:RadComboBox ID="ddlProvince" runat="server" Width="140px" Skin="Inox">
                        </telerik:RadComboBox>
                    </td>
                    <td align="left" style="width: 5%">
                       <asp:Button ID="btnSearch" runat="server" Text="Tìm Kiếm" Height="21px" Width="80px"
                                 OnClick="btnSearch_Click" />
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
